package com.lbs.tdrive.activity;

import com.lbs.tdrive.R;

import android.app.Activity;
import android.app.Application;

	import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.Spinner;

import android.view.View;
import android.view.View.OnClickListener;

public class EditVehicle extends Activity implements OnClickListener {
	

			private String array_spinner[];
			
			protected void onCreate(Bundle savedInstanceState) {
				// TODO Auto-generated method stub
				super.onCreate(savedInstanceState);
				setContentView(R.layout.edit_vehicle);
				array_spinner=new String[20];
		        array_spinner[0]="1994";
		        array_spinner[1]="1995";
		        array_spinner[2]="1996";
		        array_spinner[3]="1997";
		        array_spinner[4]="1998";
		        array_spinner[5]="1999";
		        array_spinner[6]="2000";
		        array_spinner[7]="2001";
		        array_spinner[8]="2002";
		        array_spinner[9]="2003";
		        array_spinner[10]="2004";
		        array_spinner[11]="2005";
		        array_spinner[12]="2006";
		        array_spinner[13]="2007";
		        array_spinner[14]="2008";
		        array_spinner[15]="2009";
		        array_spinner[16]="2010";
		        array_spinner[17]="2011";
		        array_spinner[18]="2012";
		        array_spinner[19]="2013";
		        Spinner s = (Spinner) findViewById(R.id.spinner1);
		        @SuppressWarnings({ "unchecked", "rawtypes" })
				ArrayAdapter adapter = new ArrayAdapter(this, android.R.layout.simple_spinner_item, array_spinner);
		        s.setAdapter(adapter);
				

				

				
			}
			@Override
			public void onBackPressed() {
				// TODO Auto-generated method stub
				finish();
			}
			


		@Override
		public void onClick(View arg0) {
			// TODO Auto-generated method stub
			
		}





}
